#
# Be sure to run `pod lib lint YKMediator_ReceiveModule.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
#

Pod::Spec.new do |s|
  s.name             = 'YKMediator_ReceiveModule'
  s.version          = '0.1.0'
  s.summary          = 'A short description of YKMediator_ReceiveModule.'

# This description is used to generate tags and improve search results.
#   * Think: What does it do? Why did you write it? What is the focus?
#   * Try to keep it short, snappy and to the point.
#   * Write the description between the DESC delimiters below.
#   * Finally, don't worry about the indent, CocoaPods strips it!

  s.description      = <<-DESC
TODO: Add long description of the pod here.
                       DESC

  s.homepage         = 'https://gitee.com/Edwrard/YKMediator_ReceiveModule'
  # s.screenshots     = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
  s.license          = { :type => 'MIT', :file => 'LICENSE' }
  s.author           = { 'edward' => 'edward' }
  s.source           = { :git => 'https://gitee.com/Edwrard/YKMediator_ReceiveModule.git', :tag => s.version.to_s }
  # s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'

  s.ios.deployment_target = '9.0'

  s.framework  = "UIKit","Foundation","AVFoundation","Photos","Security"
  s.resource_bundles = {
      'YKMediator_ReceiveModule' => 'YKMediator_ReceiveModule/Assets/**/*'
  }
  s.dependency "YKOCBaseClass"
  s.dependency "YKAlert"
  s.dependency "YK_ExectionModel"
  s.dependency 'YK_TableRefresh'
  s.dependency "ReactiveObjC"
  s.dependency "MJExtension"
  s.dependency "Masonry"
  s.dependency "MJRefresh"
  s.dependency "SDWebImage"
  s.dependency "YK_BaseTools/MQManager"
  s.source_files = 'YKMediator_ReceiveModule/Classes/*.{*}'
#  s.source_files = 'YKMediator_ReceiveModule/Classes/**/*'
  
  s.subspec 'Model' do |ss|
      ss.source_files = 'YKMediator_ReceiveModule/Classes/Model/*.*'
  end
  s.subspec 'ViewModel' do |ss|
      ss.dependency "YKMediator_ReceiveModule/Model"
      ss.source_files = 'YKMediator_ReceiveModule/Classes/ViewModel/*.*'
  end
  s.subspec 'View' do |ss|
        ss.dependency "YKMediator_ReceiveModule/ViewModel"
        ss.source_files = 'YKMediator_ReceiveModule/Classes/View/*.*'
  end
  s.subspec 'Controller' do |ss|
      ss.dependency "YKMediator_ReceiveModule/View"
      ss.source_files = 'YKMediator_ReceiveModule/Classes/Controller/*.*'
  end
  
  # s.resource_bundles = {
  #   'YKMediator_ReceiveModule' => ['YKMediator_ReceiveModule/Assets/*.png']
  # }

  # s.public_header_files = 'Pod/Classes/**/*.h'
  # s.frameworks = 'UIKit', 'MapKit'
  # s.dependency 'AFNetworking', '~> 2.3'
end
